<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title">运输信息</h4>
</div>
<div class="modal-body">
    <span style="font-size: small;color: grey;padding-left: 5px">物流单号</span>
    <span style="padding-left: 5px">{{ $delivery->logistics->tracking_no ?? '无' }}</span>
    <div class="box box-solid no-margin box-show">
        <div class="box-body">
            <div class="box-body table-responsive no-padding">
                <table class="table">
                    <thead>
                    <tr>
                        <th>状态</th>
                        <th>时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    @if($delivery->transport->isNotEmpty())
                        @foreach($delivery->transport as $item)
                            <tr>
                                <td>已{{ \App\Models\OverSeasIn\DeliveryTransport::$_status[$item->status] }}</td>
                                <td>{{ $item->date_at ?? '--' }}</td>
                            </tr>
                        @endforeach
                    @else
                        <tr>
                            <td colspan="2">无运输信息<td>
                        </tr>
                    @endif
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
</div>
